package com.ghy.dto;

import com.ghy.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author GaoHeYang
 */
@Schema(name="订单明细新增DTO")
@Data
public class OrderDetailInsertDTO implements Serializable, RE {


    @NotNull(message ="订单主键不能为空")
    @Schema(description = "订单主键")
    private Long fkOrderId;

    @NotNull(message ="课程主键不能为空")
    @Schema(description = "课程主键")
    private Long fkCourseId;



}
